using System;


namespace Handrise.Mobile.BasicModal.Serialization.Exception
{
    /// <summary>
    /// This exception is thrown when trying to register a type not marked with
    /// OverriderAttribute as Overrider.
    /// </summary>
    public class RegisterOverriderException : System.Exception
    {
        public RegisterOverriderException(Type t)
            : base("Error trying to register as overrider type " +
            t.Name + ", type is not marked with OverriderAttribute")
        {
        }
    }
}
